package com.yzd.learnjava.innerclasses;

import com.yzd.learnjava.util.Print;
/*
 * Outer.this
 */
public class DotThis {

	void f() {
		Print.print("DotThis.f()");
	}
	public class Inner{
		
		public DotThis outer() {
			return DotThis.this;
		}
	}
	public Inner inner() {
		return new Inner();
	}
	public static void main(String[] args) {
		DotThis dt = new DotThis();
		DotThis.Inner dti = dt.inner();
		dti.outer().f();
	}

}
